|
![](/i/fill.gif) |
I was just thinking that it should not be too difficult to implement a
toroidal pattern type in POV.
This pattern would return the distance of a point from a unit circle in
the x,z plane (minor radius can be done with a colour/density etc map).
I think that it could be done by
1. rotate point so that it's on the x,y plane
2. let p = <abs(p.x)-1,p.y>
3. find distance of p from origin
but someone with better 3D math skills could probably come up with a
better way.
Anyone think this is a good/bad/stupid/useful idea?
Cheers, PoD.
Post a reply to this message
|
![](/i/fill.gif) |